#include<iostream>
#include<fstream>
#include<stdlib.h>
#include<time.h>
using namespace std;

int main(int argc,char* argv[]){
	if(argc <2){
		cout<<"useage : ./gcd groups"<<endl;
		return -1;
	}
	int groups = atoi(argv[1]);
	ofstream ofs;
	ofs.open("gcd.dat");
	srandom(time(NULL));
	for(int i =0;i<groups;i++){
		ofs << random()<<" ";
		ofs<< random()<<endl;
	}
	return 0;
}

